<ion-nav-bar class="bar-assertive">
<ion-nav-back-button>
  <span class="badge badge-energized" ng-hide="msgCounter+DMCounter==0"> {{msgCounter + DMCounter}}</span>    
</ion-nav-back-button>  
</ion-nav-bar> 